package com.star.uc.contract.param;

import com.star.common.core.contract.Query;
import com.star.common.core.contract.enums.StatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * 手机号、邮箱，Ip的分，时，天的限制发送数量(UserLimitCount)表实体类
 * (不要直接给前端用)
 *
 * @author 周恒哲
 * @since 2023-11-01 18:17:28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = true)
@Schema(description = "限制发送数量查询参数")
public class UserLimitCountParam extends Query {
    /**
     * 租户ID
     */
    @Schema(description = "租户ID")
    private String tenantId;

    /**
     * 限制类型，ip-ip地址，email-邮箱，phone-手机号
     * @see com.star.uc.contract.enums.LimitTypeEnum
     */
    @Schema(description = "限制类型，ip-ip地址，email-邮箱，phone-手机号")
    private String limitType;

    /**
     * 状态
     * @see StatusEnum
     */
    @Schema(description = "状态")
    private Integer status;
}

